package com.lcxw.hxzbapi.entity.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

@Data
@TableName("ywpd_shortvideocomment")
public class ShortVideoComment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id int(10)
     */
    @TableId
    private Integer commentId;

    /**
     * 短视频id
     */
    private Integer svId;

    /**
     * 父评论id
     */
    private Integer parentId;

    /**
     * fromUserId
     */
    private Long fromUserId;

    /**
     * toUserId
     */
    private Long toUserId;

    /**
     * varchar(100)
     */
    @TableField("`comment`")
    private String comment;

    /**
     * 点赞数量
     */
    @TableField("`like`")
    private int like;

    /**
     * 评论时间
     */
    @TableField("`addTime`")
    private String addTime;

    /**
     * 状态，1：正常，0：已删除
     */
    @TableField("`status`")
    private Integer status;

    @TableField(exist = false)
    private String fromUserImgUrl;

    @TableField(exist = false)
    private String fromUserNickName;

//    @TableField(exist = false)
//    private String toUserNickName;

    @TableField(exist = false)
    private int isLike;

}
